package com.xmy.study.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 班型
 * </p>
 *
 * @author Coly
 * @since 2023-05-31
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("edu_class_type")
public class EduClassType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    @ApiModelProperty("1：正常 0：关闭")
    private Integer status;

    @ApiModelProperty("排序号")
    private Integer sort;

    private Integer level;

    @ApiModelProperty("是否删除，0正常，1删除")
    @TableLogic(value = "0", delval = "1")
    @TableField(select = false)
    private Integer deleted;
}
